package com.framework.service.impl;

import java.util.List;

import com.framework.mapper.ResourceMapper;
import com.framework.pojo.Resource;
import com.framework.service.ResourceService;

public class ResourceServiceImpl implements ResourceService {
	
	private ResourceMapper resourceMapper;

	public List<Resource> searchAll() {
		
		return resourceMapper.searchAll();
	}

	public Resource searchObject(String id) {
		
		return resourceMapper.searchObject("");
	}

	public void setResourceMapper(ResourceMapper resourceMapper) {
		this.resourceMapper = resourceMapper;
	}

}
